# encoding: utf-8
from __future__ import absolute_import, unicode_literals

import datetime
from collections import OrderedDict

CONSTANCE_CONFIG = OrderedDict((
    ('IS_PRODUCTION', (False, '是否生产环境')),
    ('IS_POPUP', (False, '是否需要弹窗')),
    ('POPUP_CONTENT', ('', '弹窗内容')),
    ('RESERVE_START_TIME', (datetime.time(7, 0), '开灯起始时间')),
    ('RESERVE_END_TIME', (datetime.time(22, 30), '开灯结束时间')),
    ('MINUTE_COST', (0.03, '每分钟的收费（元）')),
    ('FREE_TIME', (1, '免费的时长（分钟）')),
    ('SELECT_DATE_DAYS', (19, '日期选项今天之后可选天数')),
    ('PLC_IP_ADDRESS', ('192.168.1.16', 'PLC控制器ip地址')),
    ('PLC_TOTAL', ('21', 'PLC控制器的总数')),
))
